package com.demo.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 教室实体类
 * @TableName room
 */
@TableName(value ="classroom")
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Room implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long roId;

    /**
     * 教室名称
     */
    private String roName;

    /**
     * 教室容量
     */
    private Integer roCapacity;

    /**
     * 校区ID
     */
    private Long roCampusId;

    /**
     * 备注
     */
    private String roRemark;

    /**
     * 修改时间
     */
    private Date roUpdateDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}

